<?php
class template_forget_password_reset extends theme
{
	
	protected function head()
	{
	?>
<script type="text/javascript" language="javascript" src="js/jquery.validate.pack.js"></script>

<link type="text/css" rel="stylesheet" href="templates/user/css/forget_password_reset.css">
<script type="text/javascript" language="javascript" src="templates/user/js/forget_password_reset.js"></script>
	<?php
	}

	protected function middle()
	{
		$user = $this->get('user');
		?>
<p class="title"><?php echo $this->get_title(); ?></p>
<div id="forget_password_reset-form">
	<p> 请输入新密码：</p>
	<form id="form-forget_password_reset">
	<p><label class="item-title">用户名: </label><?php echo $user->username; ?></p>
	<p><label class="item-title">邮箱: </label><?php echo $user->email; ?></p>
	<p><label class="item-title">新密码:<span class="required">*</span> </label><input type="password" name="password" id="password" size="20" maxlength="20"/> </p>
	<p><label class="item-title">确认新密码:<span class="required">*</span> </label><input type="password" name="confirm_password" id="confirm_password" size="20" maxlength="20"/> </p>
	<p><label class="item-title">&nbsp;</label><input type="submit" id="submit" value="保存"/></p>
	<input type="hidden" name="user_id" value="<?php echo request('user_id'); ?>" />
	<input type="hidden" name="key" value="<?php echo request('key'); ?>" />
	</form>
</div>
<div id="forget_password_reset-msg"></div>
		<?php
	}		
		

}
?>